"""
1!+3!+5!+7!+9！+19！
"""
def fun1(k):
    res =1
    i   =1
    while i <=k:
        res *=i
        i  +=1
    return res
def fun2(i,n):
    res01 =0
    while i <=n:
        res01 +=fun1(i)
        i +=2
    return res01
result =fun2(1,19)
print(result)
